<div>{{ date|dateFormate }}</div>

filters: {
    /**
     * 日期格式化
     * @date 2021-06-18
     * @param {any} v 当前系统时间
     * @returns {any}
     */
    dateFormate(v) {
      let now = new Date(v)
      let yyyy = now.getFullYear()
      let MM = (now.getMonth() + 1 + '').padStart(2, '0')
      let dd = (now.getDate() + '').padStart(2, '0')
      let hh = (now.getHours() + '').padStart(2, '0')
      let mm = (now.getMinutes() + '').padStart(2, '0')
      let ss = (now.getSeconds() + '').padStart(2, '0')
      return `${yyyy}-${MM}-${dd} ${hh}:${mm}:${ss}`
    },
  },